package jrobutt.loader;

import jrobutt.*;
import jrobutt.room.level.LevelData;

import java.io.InputStream;
import java.io.IOException;
import java.util.zip.GZIPInputStream;

public class LevelDataLoader extends JsonLoader<LevelData>
{
    public LevelDataLoader ()
    {
        super(LevelData.class);
    }
    
    protected LevelData get_data (InputStream istream) throws IOException
    {
        return super.get_data(new GZIPInputStream(istream));
    }
}
